package org.aepscolombia.platform.models.entity;
// Generated Jan 13, 2014 2:36:33 PM by Hibernate Tools 3.2.1.GA


import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * SeedsTypes generated by hbm2java
 */
@Entity
@Table(name="seeds_types"
    ,catalog="madr_bd10"
)
public class SeedsTypes  implements java.io.Serializable {


     private Integer idSeeTyp;
     private String nameSeeTyp;
     private boolean statusSeeTyp;
     private Set beanses = new HashSet(0);

    public SeedsTypes() {
    }

	
    public SeedsTypes(String nameSeeTyp, boolean statusSeeTyp) {
        this.nameSeeTyp = nameSeeTyp;
        this.statusSeeTyp = statusSeeTyp;
    }
    public SeedsTypes(String nameSeeTyp, boolean statusSeeTyp, Set beanses) {
       this.nameSeeTyp = nameSeeTyp;
       this.statusSeeTyp = statusSeeTyp;
       this.beanses = beanses;
    }
   
     @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="id_see_typ", unique=true, nullable=false)
    public Integer getIdSeeTyp() {
        return this.idSeeTyp;
    }
    
    public void setIdSeeTyp(Integer idSeeTyp) {
        this.idSeeTyp = idSeeTyp;
    }
    
    @Column(name="name_see_typ", nullable=false, length=45)
    public String getNameSeeTyp() {
        return this.nameSeeTyp;
    }
    
    public void setNameSeeTyp(String nameSeeTyp) {
        this.nameSeeTyp = nameSeeTyp;
    }
    
    @Column(name="status_see_typ", nullable=false)
    public boolean isStatusSeeTyp() {
        return this.statusSeeTyp;
    }
    
    public void setStatusSeeTyp(boolean statusSeeTyp) {
        this.statusSeeTyp = statusSeeTyp;
    }
@OneToMany(cascade=CascadeType.ALL, fetch=FetchType.LAZY, mappedBy="seedsTypes")
    public Set getBeanses() {
        return this.beanses;
    }
    
    public void setBeanses(Set beanses) {
        this.beanses = beanses;
    }




}


